package com.example.attempt.service;

import com.example.attempt.entity.Post;

import java.util.List;

public interface PostService {
    public List<Post> queryAll();
    public List<Post> queryBySid(String sid);
    public List<Post> queryByTid(String tid);
    public List<Post> queryByAid(String aid);
    public List<Post> queryByCid(String cid);
    public Post queryByPid(int pid);
    public int addPost(Post post);
    public int deletePost(int pid);
}
